<?php
	if(!defined('BASEPATH'))
		exit('No direct script access allowed');

	class m_PayVendor extends CI_Model
	{
		function __construct()
    	{
    	    // Call the Model constructor
    	    parent::__construct();
    	}

    	function get_user_id($userEmail)
    	{
			$this->load->database();
			$this->db->select('userId')->from('tblUser')->where('userEmail', $userEmail);
			$query = $this->db->get();
			return $query;
    	}
		
		function get_vendor_source($Vendor_ID)
    	{
			$this->load->database();
			$this->db->select('Vendor_Source')->from('tblVendorSources')->where('Vendor_ID', $Vendor_ID);
			$query = $this->db->get();
			return $query;
    	}
	}
?>
